import React from 'react';
import ShoppingList from '../../common/shoppingList/ShoppingList';

const Recommend=(props)=>{
    const {list}=props
    return(
        <>
        {list.map((item,index)=>{
            return(
                <ShoppingList key={index} item={item}></ShoppingList>
            )
        })
        }
        </>
    )
}
export default Recommend;